package org.hrqing.chess.entity.mapper;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author Hrqing
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public abstract class BaseAuditingEntity extends BaseEntity {

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS")
    private LocalDateTime createdTime;
}
